]> dgit.raspbian.org Git - gnome-shell.git/commit
polkitAgent: Return GLib.SOURCE_REMOVE on timeout callback
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 17 Apr 2020 15:51:27 +0000 (17:51 +0200)
committerMarco Trevisan <mail@3v1n0.net>
Fri, 17 Apr 2020 16:17:51 +0000 (16:17 +0000)
commitbfa34914db7867fbdb8f85c7136c7e7e8dff5ce9
tree6e6e1a84a29fc719ace75968b40bf3a9acdbf865
parent8d1e4659d19c7a28aa7682558063f1c29d14bc10
polkitAgent: Return GLib.SOURCE_REMOVE on timeout callback

resetDialog is used (also) as GLib timeout function, so while just returning
an undefined value will stop the timeout anyways, it's just cleaner to
use the GSource expected return values

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1203
js/ui/components/polkitAgent.js